const rules = {
  title: [
    {
      required: true,
      message: '请输入页面名称'
    },
    {
      max: 20,
      message: '限制输入30个字符以内'
    }
  ],
  isShow: [
    {
      required: true,
      message: '是否开启不能为空'
    }
  ],
  pointPlace: [
    {
      required: true,
      message: '指向位置不能为空',
      trigger: 'change'
    }
  ],
  content: [
    {
      required: true,
      message: '页面内容不空',
      trigger: ['change', 'blur']
    }
  ]
}

export default rules
